package com.gzz.orchid.context.infrastructure.persistence.entity.fin;

import com.gzz.orchid.context.infrastructure.persistence.AbstractPojo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author higmd
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FinExchangeRatePo extends AbstractPojo {
    private Long id;
    /**
     * 源货币 src_currency
     */
    private String srcCurrency;
    /**
     * 目标货币 dest_currency
     */
    private String destCurrency;
    /**
     * 汇率 rate
     */
    private BigDecimal rate;
    /**
     * 发生时间  occur_at
     */
    private LocalDateTime occurAt;
    /**
     * 状态 status 0:正常 1:作废
     */
    private Integer status;
}
